﻿namespace Gateway.Infrastructure.Provider.Operator;

/// <summary>
/// 操作人信息
/// </summary>
public class Operator
{
    /// <summary>
    /// 操作人Id
    /// </summary>
    public string OperatorId { get; set; }

    /// <summary>
    /// 操作人名称
    /// </summary>
    public string OperatorName { get; set; }

    /// <summary>
    /// 角色标识集合
    /// </summary>
    public string RoleIds { get; set; }

    public List<string> RoleIdList => RoleIds?.Split(",").ToList() ?? new List<string>();

    /// <summary>
    /// ip地址
    /// </summary>
    public string Ip { get; set; }
}